package cn.scut.post.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("post")
public class Post {
    @TableId(value = "postid,openid")
    private String postid;
    private String openid;
    private String tag;
    private String title;
    private String content;
    private int commentsCount;
    private Date date;
}
